package com.hmall.search.Service;

import com.hmall.common.VO.FiterVO;
import com.hmall.common.dto.FiltDTO;
import com.hmall.item.pojo.PageResult;
import com.hmall.search.pojo.RequestParams;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface SearchService {
    PageResult page(FiltDTO filtDTO);

    List<String> getSuggestions(String prefix) throws IOException;

    Map<String, List<String>> getFilters(RequestParams requestParam);
}
